____ _ _ _ _
| _ \ ___ | |_ (_) _ __ ___ __| | (_) __ _
| |_) | / _ \ | __| | | | '_ \ / _ \ / _| | | | / _ |
| _ < | __/ | |_ | | | |_) | | __/ | (_| | | | | (_| |
|_| \_\ \___| \__| |_| | .__/ \___| \__,_| |_| \__,_|
|_|
- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b
Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―
Simple Service Discovery Protocol
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
Das Simple Service Discovery Protocol (SSDP) ist ein Netzwerkprotokoll, welches zur Suche nach Universal-Plug-and-Play-GerΓ€ten in einem Netzwerk dient. Die Firma Microsoft hat SSDP mit dem Betriebssystem Microsoft Windows ME eingefΓΌhrt.
Contents
β’ Definition
β’ Funktionsweise
β’ Paketaufbau
β’ Siehe auch
β’ Weblinks
β’ Einzelnachweise
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Definition
SSDP wurde in einem IETF-Internet-Draft beschrieben.cite-ref-1[1] Von IANA ist fΓΌr SSDP der Port 1900 zugewiesen.cite-ref-2[2] Als Transportprotokoll wird normalerweise UDP verwendet.
Funktionsweise
Auf der UPnP-Seite ist zu lesen:
βSobald ein UPnP-GerΓ€t ΓΌber eine IP-Adresse verfΓΌgt, muss es seine Existenz im Netzwerk an die Kontrollpunkte melden. Dies erfolgt via UDP ΓΌber die Multicast-Adresse 239.255.255.250:1900 auf der Basis des SSDP-Protokolls. Ebenso kΓΆnnen Kontrollpunkte nach UPnP-GerΓ€ten im Netzwerk suchen. In beiden FΓ€llen enthΓ€lt die βdiscovery messageβ nur die wichtigsten Angaben ΓΌber das GerΓ€t und seine Dienste, wie zum Beispiel den GerΓ€tenamen, GerΓ€tetyp und eine URL zur genauen Beschreibung des GerΓ€tes.β
β
UPnP Website
Paketaufbau
Ein SSDP-Paket ist ein HTTP-Request mit der Methode "NOTIFY" (oder auch "M-SEARCH"), welches ΓΌber UDP verschickt wird. Der HTTP-Body ist leer, der HTTP-Header muss trotzdem mit einer Leerzeile abgeschlossen sein. Im HTTP-Header werden UPnP-spezifische Attribute gesetzt:
β’ LOCATION enthΓ€lt eine URL zur Beschreibung (Description).
β’ NT (Notification Type) bestimmt die Eigenschaft des GerΓ€ts.
β’ NTS (Notification Sub Type) hat den Wert "ssdp:alive" zum Anmelden oder "ssdp:byebye" zum Abmelden eines GerΓ€ts.
β’ USN (Unique Service Name) enthΓ€lt eine eindeutige ID des GerΓ€ts.
Beispiel:
NOTIFY * HTTP/1.1
HOST: 239.255.255.250:1900
CACHE-CONTROL: max-age=1800
LOCATION: http://192.168.0.10:8080/description.xml
NT: urn:schemas-upnp-org:service:ConnectionManager:1
NTS: ssdp:alive
SERVER: Linux/2.6.15.2 UPnP/1.0 Mediaserver/1.0
USN: uuid:550e8400-e29b-11d4-a716-446655440000::urn:schemas-upnp-org:service:ConnectionManager:1
Multicast-Adressen
Die fΓΌr das SSDP-Protokoll zur VerfΓΌgung stehenden Multicast-Adressencite-ref-3[3] sind:
| IP-Version | Adresse | Bereich |
|---|---|---|
| IPv4 | 239.255.255.250 | site-local |
| IPv6 | ff02::c | link-local |
| IPv6 | ff05::c | site-local |
Siehe auch
Weblinks
β’ UPnP Device Architecture 2.0 (PDF; 1,86 MB)
β’ SSDP: Networked Home Entertainment Devices (NHED) Extensions
Einzelnachweise
cite-note-11. β https://datatracker.ietf.org/doc/html/draft-cai-ssdp-v1-03
cite-note-22. β https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=1900
cite-note-33. β Devices and control points SHALL NOT send Global scoped, Organization-Local scoped, or Admin-Local scoped multicast messages. UPnP Device Architecture 2.0